package net.viral.struts2;

import javax.servlet.http.*;

import org.apache.struts2.ServletActionContext;
import com.opensymphony.xwork2.*;

public class Login1 extends ActionSupport {
	private String username;
	private String password;
	public String execute() {
		HttpServletRequest request=ServletActionContext.getRequest();
		HttpSession session=request.getSession();
		return "admin";
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getPassword() {
		return password;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getUsername() {
		return username;
	}
}
